*** Journal of Behavioral Public Administration Meier and An (2020) Replication File
*** Reference: "Sector Bias in Public Programs:US Nonprofit Hospitals"
*** DOI: 

version 15

clear

***specify your working folder

cd "your-working-folder-location where you unzip the material"

/*------------------------------------------------------------------------
PART I: US Adult Sample (Amazon MTurk)
------------------------------------------------------------------------*/

*Note: Red tape questions (q4 and q5) are reversely coded. 

use "JBPA_sector_bias_USadults_dataverse.dta", clear

*------------------Table 1: Balance across experimental groups

regress ideology i.group, robust
regress age  i.group, robust
regress religion i.group, robust
regress gender  i.group, robust
regress white  i.group, robust

*------------------Table 2: Factor Analysis of the Four Perceived Performance Dimensions

factor q1 q2 q3 q4 q5 q6 q7 q8 q9, pf
rotate, varimax
predict effectiveness benevolence redtape efficiency 
alpha q1 q2 q3
alpha q4 q5
alpha q6 q7
alpha q8 q9
sum effectiveness benevolence redtape efficiency 

*------------------Table 3: Perceptions of Performance: Impact of Sector and Performance Management, Regression Models

*------------------Effectiveness Model

regress effectiveness c.private c.public i.performance, robust

*------------------Red Tape Model

regress redtape c.private c.public i.performance, robust

*------------------Efficiency Model

regress efficiency c.private c.public i.performance, robust

*------------------Benevolence Model

regress benevolence c.private c.public i.performance, robust

*------------------Table 4. Perceptions of Performance: Moderating Impact of Performance Management, Regression Models

regress effectiveness (c.private c.public)##c.performance, robust

*------------------Red Tape Model

regress redtape (c.private c.public)##c.performance, robust

*------------------Efficiency Model

regress efficiency (c.private c.public)##c.performance, robust

*------------------Benevolence Model

regress benevolence (c.private c.public)##c.performance, robust


/*------------------------------------------------------------------------
PART II: US Student Sample (TAMU students) - Appendix
------------------------------------------------------------------------*/

*------------------load data
*Note: Red tape questions (q4 and q5) are reversely coded. 

use "JBPA_sector_bias_USstudents_dataverse.dta", clear

*------------------Table A1: Balance across experimental groups (students)

regress ideology i.group, robust
regress age i.group, robust
regress religion i.group, robust
regress gender i.group, robust
regress white i.group, robust

*------------------Table 2: Factor Analysis of the Four Perceived Performance Dimensions

factor q1 q2 q3 q4 q5 q6 q7 q8 q9, pf
rotate, varimax
predict effectiveness benevolence redtape efficiency 
alpha q1 q2 q3
alpha q4 q5
alpha q6 q7
alpha q8 q9
sum effectiveness benevolence redtape efficiency 

*------------------Table A3: Perceptions of Performance: Impact of Sector and Performance Management, Regression Models (students) 

*------------------Effectiveness Model
regress effectiveness c.private c.public i.performance, robust

*------------------Red Tape Model
regress redtape c.private c.public i.performance, robust

*------------------Efficiency Model
regress efficiency c.private c.public i.performance, robust

*------------------Benevolence Model
regress benevolence c.private c.public i.performance, robust

*------------------Table A4. Perceptions of Performance: Moderating Impact of Performance Management, Regression Models (students)

*------------------Effectiveness Model
regress effectiveness (c.private c.public)##c.performance, robust

*------------------Red Tape Model
regress redtape (c.private c.public)##c.performance, robust

*------------------Efficiency Model
regress efficiency (c.private c.public)##c.performance, robust

*------------------Benevolence Model
regress benevolence (c.private c.public)##c.performance, robust
